package com.sofwin.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @packageName: com.sofwin.util
 * @user: andyliu
 * @date: 2023/5/11 11:43
 * @email 115176513@qq.com
 * @description: TODO
 */

public class DateUtil {

    public static String getNow(){
        Date date = new Date();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String format = sdf.format(date);
        return format;
    }
}
